package comm.bean;

import comm.bean.config.BeanConfig;
import comm.bean.service.BeanWayService;
import comm.bean.service.Jsr250BeanService;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;

/**
 * @Description: TODO
 * @Author: chris_cai@enable-ets.com
 * @Since: 2018年09月26日
 */
public class Main {
    public static void main(String[] args) {
        AnnotationConfigApplicationContext context = new AnnotationConfigApplicationContext(BeanConfig.class);
        BeanWayService beanWayService = context.getBean(BeanWayService.class);
        Jsr250BeanService jsr250BeanService = context.getBean(Jsr250BeanService.class);
        context.close();
    }
}
